package com.wwj.core.wawa.entity.mapper;

import com.wwj.core.wawa.entity.PlayRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/3.
 */
public interface PlayRecordMapper {
    List<PlayRecord> selectPlayRecordsByParams(Map<String, Object> params);

    PlayRecord selectPlayRecordById(Integer id);

    List<PlayRecord> selectPlayRecordsUserInfoByParams(Map<String,Object> params)throws Exception;

    void insertPlayRecord(PlayRecord playRecord);

    void updatePlayRecord(PlayRecord playRecord);

    PlayRecord selectPlayRecordByPlayNo(String playNo);

    PlayRecord selectPlayRecordByToken(@Param("token") String token);
}
